﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPHttpServer
{
    public class FlashResponseContentProvider : IResponseContentProvider
    {//
        public byte[] ImageData { get; set; }
        public FlashResponseContentProvider(byte[] data)
        {
            ImageData = data;
        }

        public string ContentMediaTypeName
        {
            get { return "application/x-shockwave-flash"; }
        }

        public byte[] GetContentData()
        {
            return ImageData;
        }
    }
}
